{assign var="oPerson" value=$oTeamPerson->getPerson()}
{assign var="oTeam" value=$oTeamPerson->getTeam()}
{assign var="oCompetition" value=$oTeam->getCompetition()}
{assign var="gamePoints" value=$oTeamPerson->goals+$oTeamPerson->assists}
		{if $fromPerson}
<tr>
	<td class="greenLeft {$oCompetition->getGender()->nefub_name|lower} {$oCompetition->getGenre()->nefub_name|lower}">
			<div class="competitionIcons">
				<div class="competitionIcon left">&nbsp;</div>			
				<div class="competitionIcon right">&nbsp;</div>
				<div class="clear"><!--  --></div>			
			</div>
		</td>
	<td>			
					<a href="/team/{$oTeam->nefub_id}" {if $oTeamPerson->added} class="addedTeamPerson"{elseif $oTeamPerson->removed} class="removedTeamPerson"{/if}>
						<h4>{$oTeam->name|ucfirst|replace:"&amp;":"&"}</h4>	
							{$oCompetition->name}<br />			
							{$gamePoints} punt{if $gamePoints != 1}en{/if}
							({$oTeamPerson->goals} goal{if $oTeamPerson->goals != 1}s{/if}, {$oTeamPerson->assists} assist{if $oTeamPerson->assists != 1}s{/if})<br />
							{$oTeamPerson->games_played} wedstrijd{if $oTeamPerson->game_played != 1}en{/if}</strong> ({$oTeamPerson->penalty_minutes} strafminuten)
					</a>
	</td>
</tr>					
		{else}
<tr>
	<td>			
						<a href="/persoon/{$oPerson->nefub_id}" {if $oTeamPerson->added} class="addedTeamPerson"{elseif $oTeamPerson->removed} class="removedTeamPerson"{/if}>
							<h4>{$oPerson->name|ucfirst|replace:"&amp;":"&"}</h4>
							{if $oTeamPerson->getTeam()->gender_id == $oTeam->gender_id && $oTeamPerson->getTeam()->name == $oTeam->name}					
								{$gamePoints} punt{if $gamePoints != 1}en{/if}</strong>
								({$oTeamPerson->goals} goal{if $oTeamPerson->goals != 1}s{/if}, {$oTeamPerson->assists} assist{if $oTeamPerson->assists != 1}s{/if})<br />
								{$oTeamPerson->games_played} wedstrijd{if $oTeamPerson->game_played != 1}en{/if}</strong> ({$oTeamPerson->penalty_minutes} strafminuten)
							{/if} 
						</a>
	</td>
</tr>
{/if}